package obj.day5;

import com.sect.edu.info.manager.domain.Student;

import java.util.Objects;

/**
 * @author げっしょく
 * @date 2021/7/20
 */
public class Test1 {
    public static void main(String[] args) {
//        Student stu = new Student("152","djdwa","2001",20);
//        stu = null;
//        String result = Objects.toString(stu, "sb");
//        System.out.println(result);
        StringBuilder sb = new StringBuilder("abc");
        String s1 = "abc";
        System.out.println(sb);
        String s = sb.toString();
        System.out.println(s);
        if(s.equals(s1)){
            System.out.println(1);
        }else{
            System.out.println(2);
        }
    }
}
